package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * PLC接口参数对象 WCS_DVC
 * 
 * @author ZYT
 * @date 2020-12-21
 */
public class WcsDvc extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long dvcId;

    /** PLC编号 */
    @Excel(name = "PLC编号")
    private String dvcNo;

    /** 厂商名称 */
    @Excel(name = "厂商名称")
    private String dvcDesc;

    /** 接口程序名称 */
    @Excel(name = "接口程序名称")
    private String dvcTp;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String dvcIp;

    /** 报文头 */
    @Excel(name = "报文头")
    private String revBegin;

    /** 报文尾 */
    @Excel(name = "报文尾")
    private String revEnd;

    /** 接收存储过程 */
    @Excel(name = "接收存储过程")
    private String revProc;

    /** 发送存储过程 */
    @Excel(name = "发送存储过程")
    private String sendProc;

    /** 发送间隔 */
    @Excel(name = "发送间隔")
    private Long sendTime;

    /** 端口号 */
    @Excel(name = "端口号")
    private String port;

    /** DVC_ST */
    @Excel(name = "DVC_ST")
    private String dvcSt;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;

    /** 备注 */
    @Excel(name = "备注")
    private String comments;

    /** HEART_BEAT_ST */
    @Excel(name = "HEART_BEAT_ST")
    private String heartBeatSt;

    /** 状态 */
    @Excel(name = "状态")
    private String isok;

    /** vanderland_port */
    @Excel(name = "vanderland_port")
    private String vanderlandPort;

    /** errorCode */
    @Excel(name = "errorCode")
    private String errorcode;

    /** errRfidList */
    @Excel(name = "errRfidList")
    private String errrfidlist;

    public void setDvcId(Long dvcId) 
    {
        this.dvcId = dvcId;
    }

    public Long getDvcId() 
    {
        return dvcId;
    }
    public void setDvcNo(String dvcNo) 
    {
        this.dvcNo = dvcNo;
    }

    public String getDvcNo() 
    {
        return dvcNo;
    }
    public void setDvcDesc(String dvcDesc) 
    {
        this.dvcDesc = dvcDesc;
    }

    public String getDvcDesc() 
    {
        return dvcDesc;
    }
    public void setDvcTp(String dvcTp) 
    {
        this.dvcTp = dvcTp;
    }

    public String getDvcTp() 
    {
        return dvcTp;
    }
    public void setDvcIp(String dvcIp) 
    {
        this.dvcIp = dvcIp;
    }

    public String getDvcIp() 
    {
        return dvcIp;
    }
    public void setRevBegin(String revBegin) 
    {
        this.revBegin = revBegin;
    }

    public String getRevBegin() 
    {
        return revBegin;
    }
    public void setRevEnd(String revEnd) 
    {
        this.revEnd = revEnd;
    }

    public String getRevEnd() 
    {
        return revEnd;
    }
    public void setRevProc(String revProc) 
    {
        this.revProc = revProc;
    }

    public String getRevProc() 
    {
        return revProc;
    }
    public void setSendProc(String sendProc) 
    {
        this.sendProc = sendProc;
    }

    public String getSendProc() 
    {
        return sendProc;
    }
    public void setSendTime(Long sendTime) 
    {
        this.sendTime = sendTime;
    }

    public Long getSendTime() 
    {
        return sendTime;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }
    public void setDvcSt(String dvcSt) 
    {
        this.dvcSt = dvcSt;
    }

    public String getDvcSt() 
    {
        return dvcSt;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setComments(String comments) 
    {
        this.comments = comments;
    }

    public String getComments() 
    {
        return comments;
    }
    public void setHeartBeatSt(String heartBeatSt) 
    {
        this.heartBeatSt = heartBeatSt;
    }

    public String getHeartBeatSt() 
    {
        return heartBeatSt;
    }
    public void setIsok(String isok) 
    {
        this.isok = isok;
    }

    public String getIsok() 
    {
        return isok;
    }
    public void setVanderlandPort(String vanderlandPort) 
    {
        this.vanderlandPort = vanderlandPort;
    }

    public String getVanderlandPort() 
    {
        return vanderlandPort;
    }
    public void setErrorcode(String errorcode) 
    {
        this.errorcode = errorcode;
    }

    public String getErrorcode() 
    {
        return errorcode;
    }
    public void setErrrfidlist(String errrfidlist) 
    {
        this.errrfidlist = errrfidlist;
    }

    public String getErrrfidlist() 
    {
        return errrfidlist;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dvcId", getDvcId())
            .append("dvcNo", getDvcNo())
            .append("dvcDesc", getDvcDesc())
            .append("dvcTp", getDvcTp())
            .append("dvcIp", getDvcIp())
            .append("revBegin", getRevBegin())
            .append("revEnd", getRevEnd())
            .append("revProc", getRevProc())
            .append("sendProc", getSendProc())
            .append("sendTime", getSendTime())
            .append("port", getPort())
            .append("dvcSt", getDvcSt())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("comments", getComments())
            .append("heartBeatSt", getHeartBeatSt())
            .append("isok", getIsok())
            .append("vanderlandPort", getVanderlandPort())
            .append("errorcode", getErrorcode())
            .append("errrfidlist", getErrrfidlist())
            .toString();
    }
}
